package main

import (
	"fmt"
	"golong/database/login"
)

func main() {

	for i := 0; i < 3; i++ {

		if login.Login() {
			goto amhere
		} else {

			fmt.Println("登录第d%次", i+1)
			if i == 2 {
				fmt.Println("您已尝试3次,失败,为了安全强制退出")
				return
			}
		}
	}
amhere:
	{

		fmt.Println("登录成功")

	}
}
